package springboot.service;

import springboot.Tools.Date.Day;
import springboot.doMain.WxGroupChatAdmin;

import java.util.List;
import java.util.Map;

/**
 * wxWork
 * springboot.service
 * Created by Blue on 2021/11/2.
 */
public interface WXGroupChatAdminService {
	int deleteByPrimaryKey(Long groupChatSellerId);
	
	int insert(WxGroupChatAdmin record);
	
	List<Map<String, Object>> selPeriodSellerData(Day day);
	
	List<Map<String, String>> selPeriodSellerDataByAnother(long date);
	
	int insertSelective(WxGroupChatAdmin record);
	
	WxGroupChatAdmin selectByPrimaryKey(Long groupChatSellerId);
	
	int updateByPrimaryKeySelective(WxGroupChatAdmin record);
	
	int updateByPrimaryKey(WxGroupChatAdmin record);
	
	/*插入一天的群组数据*/
	int insertDayGroupChat(List<WxGroupChatAdmin> wxGroupChatAdmins);
	
	//	查找一周的群数据,参数为周选择，0为本周，-1为上周
	List<Map<String, Object>> selSellerData(int diff);
}
